<template>
  <a-button :size="element.style.size" :style="styleFilter(element.style)" :type="element.style.type"  v-on="setEventVm()">{{title}}</a-button>
</template>

<script>
import mixin from "../mixin"
import { getProps } from "./attr"

export default {
  mixins: [mixin],
  props: getProps(),
  data(){
    return {
      size: "small"
    }
  }
}
</script>

<style lang="less" scoped>
@import url("./index.less");
</style>
